<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>实体店类型管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    #parse('/headFiles.html')
</head>
<body>
<body>
 <div class="layui-form" style="padding: 20px 15px 0 0;">
 	<input type="hidden" name="id" value="$!{id}"/>
 	<input type="hidden" name="parentId" value="$!{parentId}"/>
    #if($parentId)
    <div class="layui-form-item">
      <label class="layui-form-label">父节点</label>
      <div class="layui-input-block"><div class="layui-form-mid">$!{parentName}($!{parentCode})</div></div>
    </div>
    #end
    <div class="layui-form-item">
      <label class="layui-form-label">类型名称</label>
      <div class="layui-input-block">
      	<input type="text" name="name" class="layui-input" lay-verify="required" value="$!{name}"></input>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">类型Code</label>
      <div class="layui-input-block">
      	<input type="text" name="code" class="layui-input" lay-verify="required" value="$!{code}"></input>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">优先级</label>
      <div class="layui-input-block">
      	<input type="text" name="priority" class="layui-input" value="$!{priority}"></input>
      </div>
    </div>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="提交">
    </div>
 </div>
 #parse('/footFiles.html')
 <script type="text/javascript">
 layui.config({
     base: '$!{webRoot}/layuiadmin/'
     ,webRoot:'$!{webRoot}'
 }).extend({
     index: 'lib/index'
 }).use(['index', 'form']);
 </script>
</body>
</body>
</html>